/**
 * 
 *  @project Air Traff Monitor
 * 
 *  @author M.Emre ATASEVER <m.emre.atas@gmail.com>
 *  @author M.Burak ALKAN <mburakalkan@gmail.com>
 *  @author H.Burak KARAMIK <bkaramik@gmail.com>
 *
 *	`Air Traffic Monitor' is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */


#ifndef ALERTVIEW_H
#define ALERTVIEW_H

#include <QTreeWidget>
#include <QDockWidget>
#include <QMenu>

#include "kisock.h"
#include "kisview.h"
#include "viewtoolbar.h"
#include "alertmodel.h"
#include <QMainWindow>

class QKismetAlertView : public QKismetTreeView
{
	Q_OBJECT

public:
	QKismetAlertView(QKismetSocket *sock);
	~QKismetAlertView();
private:
	void createMenus();
	QKismetSocket *socket;
private slots:
	void SaveSettings();
};


class QKismetAlertWnd : public QMainWindow
{
	Q_OBJECT
public:
	QKismetAlertWnd(QKismetSocket *sock);
	~QKismetAlertWnd();
private:
	QKismetAlertView *tree;
	QKismetViewToolBar *toolbar;

};

class QKismetAlertDock : public QDockWidget
{
	Q_OBJECT
public:
	QKismetAlertDock(QKismetSocket* sock);
	~QKismetAlertDock();
private:
	QKismetAlertWnd *wnd;

};


#endif
